package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.PageResponseResult;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.ChannelDto;
import com.heima.model.wemedia.pojos.WmChannel;

public interface WmChannelService extends IService<WmChannel> {


    ResponseResult channelsList();

    //新增频道
    ResponseResult insertChannel(WmChannel wmChannel);

    //查询频道
    PageResponseResult selectChannel(ChannelDto dto);

    //修改频道
    ResponseResult updateChannel(WmChannel wmChannel);

    //删除频道
    ResponseResult deleteChannel(Integer id);
}